﻿using Services4KouDai.Models;
using Services4KouDai.Parsers;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Services4KouDai.Services
{
    public class GroupCombineService : IGroupCombineService
    {
        public async Task<ServiceRespInfo> GetGroupCombineList(Platform platform)
        {
            string url = ServiceConstants.WP8GroupCombines;
            if (platform == Platform.WIN8)
            {
                url = ServiceConstants.WIN8GroupCombines;

            }
            return await CommonService.ServiceReq(url, null, new List<GroupCombineEntity>(), new GroupCombineParser(platform)).ConfigureAwait(false);
        }
    }
}
